<?php
class Forms_CreateRaidForm extends Zend_Dojo_Form 
{ 
    public function init()
    {
    	 
        $this->setName('create_raid');

		$this->addElement(	'DateTextBox',
							'date',
							array(
								'label' => 'Date',
								'required' => true,
								'invalidMessage' => 'Invalid date specified.',
        						'formatLength'   => 'long',));         


              
        
        $submit = new Zend_Form_Element_Submit('submit');
        $submit->setLabel('Create');

        
        
        $this->addElements(array($submit));
        
    }

}
?>